home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / HEI151.M3 < prev    next >
Encoding:
Text File  |  1996-04-01  |  3.7 KB  |  131 lines

  1. name Heidenhain TNC 151 ISO
  2.  
  3. O >4
  4. N >4
  5. G >2
  6. g >2 G
  7. X ->3.>4
  8. Y ->3.>4
  9. Z ->3.>4
  10. I ->3.>4
  11. J ->3.>4
  12. Q ->3.>4
  13. R ->3.>4
  14. P ->3.>4
  15. F >3.1
  16. K ->3.>4
  17. H >2
  18. D >2
  19. T >2
  20. M >2
  21. S >4
  22.  
  23. ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85  # List of g codes that are modal    
  24.  
  25. Sequence#s N 0 1 1                    # Char, freq, incr & start          
  26.  
  27. HCode X                               # X or X U  'Horizontal char.       
  28. VCode Y                               # Y or Y V  'Vertical char.         
  29. Dcode Z                               # Depth char.                       
  30. FeedCode F                            # Feed rate char.                   
  31.  
  32. Comment ( )                           # Begin End comment char.           
  33.  
  34. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  35. Coolant 8 9 7                         # On, Off & Mist m codes            
  36. DComp 41 42 40                        # Left, Right & Cancel m codes      
  37. LComp 43 49                           # On & Off codes                    
  38.  
  39.  
  40. Feed G1                             # Linear move                       
  41. Rapid G0                            # Rapid positioning word            
  42. Cw G2                               # Circular move clockwise           
  43. Ccw G3                              # Circular move counter clockwise   
  44.  
  45. CtrCode I J                           # I J or R or I J K L               
  46. Helical? N
  47. MaxRad 999 .010
  48.  
  49. Spaces? N                             # Y or N  'Spaces between words     
  50.  
  51. Incremental? N                        # Y or N  'Inc or abs output        
  52. CtrIncremental? Y                     # Y or N  'Inc or abs I & J         
  53. ByQuadrants? N                        # Y or N  'Break arcs at quadrants  
  54.  
  55. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  56.  
  57. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  58.  
  59. Drill                                 # Drilling canned/manual cycle      
  60. G81 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  61. end cancel
  62.  
  63. Peck                                  # Pecking canned/manual cycle       
  64. G83 X[H] Y[V] Z[D] Q[VBite] R[Vclear] F[FRate]
  65. end cancel
  66.  
  67. Tap                                   # Tapping canned/manual cycle       
  68. G84 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  69. end cancel
  70.  
  71. LTap                                  # Left handed tapping cycle         
  72. G74 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  73. end cancel
  74.  
  75. Ream                                  # Reaming canned/manual cycle       
  76. G85 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  77. end cancel
  78.  
  79. Bore                                  # Boring canned/manual cycle        
  80. G86 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  81. end cancel
  82.  
  83. Back                                  # Back boring canned/manual cycle   
  84. G87 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  85. end cancel
  86.  
  87. Cancel                                # Cancel a canned/manual cycle      
  88. G80
  89. end
  90.  
  91. StartCode                             # Start of the program              
  92. O[Program#]
  93. End
  94.  
  95. 1stToolChange                         # First tool change                 
  96. g91
  97. G28 X2 Y[-2] Z[-2]
  98. G90
  99. N[Block] T[Tool] M6
  100. G0 G40 G80 G[Work] X[H] Y[V]
  101. G43 Z[D] H[Lcomp] M[Direct] S[Speed]
  102. M[Cool]
  103. End
  104.  
  105. Infeed                                # Enable cutter comp                
  106. G1 Z[D] F[Plunge]
  107. G[Side] X[H] Y[V] H[DComp] F[FRate]
  108. end
  109.  
  110. Outfeed                               # Disable cutter comp               
  111. G1 G40 X[H] Y[V]
  112. Z[D]
  113. end
  114.  
  115. ToolChange                            # Secondary tool changes            
  116. M9
  117. G28 G49 Z0 S100
  118. N[Block] T[Tool] M6
  119. G0 G40 G80 G[Work] X[H] Y[V]
  120. G43 Z[D] H[Lcomp] M[Direct] S[Speed]
  121. M[Cool]
  122. End
  123.  
  124. EndCode                               # End of the program                
  125. G0 G28 G49 Z0 S100
  126. G28 g91 X0 Y0 T[Tool1] M6
  127. G90 M30
  128. End
  129.  
  130.  
  131.